searchentry: Always measure and allocate icon
authorTimm Bäder <mail@baedert.org>
Sat, 27 Apr 2019 06:20:30 +0000 (08:20 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 27 Apr 2019 06:40:33 +0000 (08:40 +0200)
commitcc4b3798e53a3efc63c14b98d3f70488801a70a1
tree1366f413127463e0e1339e096e4897a2572ac1b2
parent8634a51aa5b98e3740e330de272f8d931144872b
searchentry: Always measure and allocate icon

Just measuring it (so the warning goes away) but then not using the
values will later underallocate the text widget.
Instead, always reserve space for the icon (which will inevitable be
visible as soon as the searchentry is actually being used).

Fixes #1831
gtk/gtksearchentry.c